home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Caml Light 0.7 / examples / README < prev   
Encoding:
Text File  |  1995-06-14  |  2.0 KB  |  69 lines  |  [TEXT/MPS ]

  1. This folder contains some examples of Caml programs.
  2.  
  3. The examples can either be compiled and executed as MPW tools
  4. (just type "make" in the subdirectory), or run interactively under
  5. the "Caml Light" application by choosing "include" from the "file"
  6. menu and selecting the file "loadall.ml" from the appropriate folder.
  7.  
  8. Examples marked (*) are taken from the book ``Le langage Caml'', by
  9. Pierre Weis and Xavier Leroy (InterEditions, 1993). Messages and
  10. identifiers are in French.
  11.  
  12. Examples marked (G) use graphics and will only work in the application.
  13.  
  14. basics:
  15.         Three all-time favorites: Fibonacci, Eratosthene's sieve, and the
  16.         Unix "wc" utility.
  17.  
  18. asl:
  19.         This is the implementation of A Small Language, as described in
  20.         part 3 of ``Functional Programming using Caml Light'', by
  21.         Michel Mauny.
  22.  
  23. calc:
  24.         This is a simple desk calculator that illustrates the use of camllex 
  25.         and camlyacc.  (works only under MPW)
  26.  
  27. colwheel: (G)
  28.         The "color wheel" (color space in HSV coordinates).
  29.         Needs 256 colors to look good.
  30.  
  31. compress: (*)
  32.         File compression and decompression (Huffman).
  33.  
  34. demonstr: (*)
  35.         Tautology checker.
  36.  
  37. docteur: (*)
  38.         A (French-speaking) clone of Eliza.
  39.  
  40. grep: (*)
  41.         Regular expressions and automata.
  42.  
  43. hanoi: (*)
  44.         Animated towers of Hanoi.
  45.  
  46. kb:
  47.         The Knuth-Bendix completion procedure for rewriting systems.
  48.         Taken from some course notes by Gerard Huet.
  49.  
  50. minicaml: (*)
  51.         An interpreter and typechecker for a subset of Caml.
  52.  
  53. minilogo: (*) (G)
  54.         An interpreter for a small language with turtle graphics.
  55.  
  56. pascal: (*)
  57.         An interpreter and compiler for a subset of Pascal.
  58.         The compiler generates code for the "picomach" program.
  59.  
  60. picomach: (*)
  61.         An assembler and simulator for a RISC processor.
  62.  
  63. showsort: (G)
  64.         Graphic animation of sorting algorithms.
  65.  
  66. spirals: (G)
  67.         Explore a family of flashy curves. (Use spir on a color screen
  68.         and spir-bw on a black and white screen.)
  69.